<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>CSS边框</title>
    <style>
      p {
        height: 50px;
      }
      #p1 {
        border-width: 5px;
        border-color: red;
        border-style: solid;
        border-radius: 10px;
      }
      #p2 {
        border: 5px dashed green;
      }
      #p3 {
        border-top: 5px dotted blue;
        border-bottom: 5px double orange;
      }
      #p4 {
        border: 5px solid purple;
        border-radius: 10px 20px 30px 40px;
      }
    </style>
  </head>
  <body>
    <p id="p1">边框样式</p>
    <p id="p2">边框样式</p>
    <p id="p3">边框样式</p>
    <p id="p4">边框样式</p>
  </body>
</html>
